package top.zsyle.fallback;

import org.springframework.web.bind.annotation.PathVariable;
import top.zsyle.domain.User;

public class GetUserFallback {

    public static User getUserFallback(@PathVariable Long id,Throwable throwable) {
        return new User(-1L,"老子熔断了","骗你是小狗~~~");
    }
}
